<template>
  <div class="hello">
    test
  </div>
</template>

<script lang="ts">
import Vue from 'vue'
import qs from 'qs'
import request from '@/utils/request'
export default Vue.extend({
  name: 'Test',
  async created () {
    const res = await request({
      url: '/front/user/login',
      method: 'POST',
      data: qs.stringify({
        phone: '18201288771',
        password: '111111'
      })
    })
    console.log(res)
  }
})
</script>

<style scoped lang="scss">
</style>
